Open
Conversation
MarcCote
reviewed
May 23, 2025
MarcCote
reviewed
Jun 12, 2025
MarcCote
reviewed
Jun 12, 2025
debug_gym/gym/envs/env.py
Outdated
|
|
||
| return self.infos | ||
|
|
||
| def clone(self): |
Collaborator
There was a problem hiding this comment.
Should we be subclassing the clone method in all type of envs? Some environments (e.g., SWE-Smith) require custom setup.
Collaborator
There was a problem hiding this comment.
Ideally, we would have a generic way to create a copy of the environment. Maybe by reusing the the logic in run.py
MarcCote
requested changes
Jun 12, 2025
Collaborator
MarcCote
left a comment
There was a problem hiding this comment.
When I tried it, I notice the RewriteOnly agent didn't have the proper context.
debug_gym/gym/envs/env.py
Outdated
|
|
||
| return self.infos | ||
|
|
||
| def clone(self): |
Collaborator
There was a problem hiding this comment.
Ideally, we would have a generic way to create a copy of the environment. Maybe by reusing the the logic in run.py
matheper
reviewed
Jun 16, 2025
Collaborator
|
You can try it with |
matheper
added a commit
that referenced
this pull request
Aug 6, 2025
matheper
added a commit
that referenced
this pull request
Aug 11, 2025
MarcCote
pushed a commit
that referenced
this pull request
Aug 18, 2025
MarcCote
added a commit
that referenced
this pull request
Sep 10, 2025
* Pull changes from #107 and #212 * Add a workspace class. Refactoring + tests * Refactor SWE-Bench and make sure all 500 tasks can be solved. * Pass revision id to parent class * Tests should check for default SWE-bench/SWE-bench_Verified * Make sure we apply any changes needed for setting up the environment. * Rename RemoteWorkspace -> Workspace * Fix typos. * Use better delimiter for here-document + add explantion to workspace.write_file * Show with hidden files when listing file with workspace * Fix interact_with_pdb test * Raises if git diff fails --------- Co-authored-by: Matheus Pereira <[email protected]>
MarcCote
added a commit
that referenced
this pull request
Sep 11, 2025
* Pull changes from #107 and #212 * Add a workspace class. Refactoring + tests * Refactor SWE-Bench and make sure all 500 tasks can be solved. * Rename output logs file and agent's output trajectory file * Pass revision id to parent class * Tests should check for default SWE-bench/SWE-bench_Verified * Make sure we apply any changes needed for setting up the environment. * Rename RemoteWorkspace -> Workspace * Fix typos. * Use better delimiter for here-document + add explantion to workspace.write_file * Show with hidden files when listing file with workspace * Fix interact_with_pdb test * Raises if git diff fails * Rename log to trajectory * fix test, now log file is named debug_gym.log --------- Co-authored-by: Matheus Pereira <[email protected]> Co-authored-by: Xingdi (Eric) Yuan <[email protected]>
matheper
added a commit
that referenced
this pull request
Sep 12, 2025
* Pull changes from #107 and #212 * Add a workspace class. Refactoring + tests * Refactor SWE-Bench and make sure all 500 tasks can be solved. * Adding r2egym support * Pass revision id to parent class * Tests should check for default SWE-bench/SWE-bench_Verified * Make sure we apply any changes needed for setting up the environment. * Rename RemoteWorkspace -> Workspace * Fix typos. * Use better delimiter for here-document + add explantion to workspace.write_file * Show with hidden files when listing file with workspace * Fix interact_with_pdb test * Raises if git diff fails * Cleanup * update test, now log file is named debug_gym.log * Adding r2egym support * Add tests for r2egym + Refactor tests * GH Action * Add step to download and combine coverage artifacts for multiple tests * try current dir * Update tests.yml * Update tests.yml --------- Co-authored-by: Matheus Pereira <[email protected]> Co-authored-by: Xingdi (Eric) Yuan <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.